import { Component, ViewChild, OnInit } from '@angular/core';
import { InteractiveService } from 'src/app/index/interactive.service';

import { UserPasswordComponent } from 'src/app/module/manage/users/password/user.password.component';

declare var security: any;

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit {

  @ViewChild('password', { static: true }) pd: UserPasswordComponent;

  ss: any;
  constructor(public is: InteractiveService) {
    this.ss = security.SecurityService;
    this.ss.show = false;
  }

  ngOnInit() {
    this.is.regRouter();
  }
}
